package jf.jcube.spec;

import jf.jcube.model.Dimension;

/**
 * @author skadya
 * 
 */
public class Order {

    private final Dimension dimension;

    private final boolean desc;

    public Order(Dimension dimension) {
        this(dimension, false);
    }

    public Order(Dimension dimension, boolean desc) {
        this.dimension = dimension;
        this.desc = desc;
    }

    public Dimension getDimension() {
        return dimension;
    }

    public boolean isDesc() {
        return desc;
    }

}
